![]() |
PATH![]() |
![]() ![]() |
Sets a specified collection as the current theme.
pascal OSStatus SetTheme (
Collection ioCollection);
The SetTheme function sets the attributes of the current theme. You may use SetTheme to set up a custom theme environment for your application, to be used only when your application is active. You may also use SetTheme to create a theme environment that you want to be user-selectable and to have systemwide effect. See Creating Custom Themes for more details on these processes.
Your application can use the GetTheme function to obtain a collection containing a copy of the data for the current theme.